<?xml version="1.0" encoding="UTF-8"?>    
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:p="http://primefaces.prime.com.tr/ui"
      xmlns:c="http://java.sun.com/jstl/core"
      xmlns:a4j="http://richfaces.org/a4j"
      xmlns:rich="http://richfaces.org/rich"
      xmlns:util="http://java.sun.com/jsf/composite/components/util">
<ui:composition template="/WEB-INF/templates/member/memComTemplate.xhtml">
	<ui:param name="top" value="account"></ui:param>
	<ui:param name="subtop" value="changePassword"></ui:param>
	<ui:define name="memComTitle">
		<div class="topshowtitle">修改密码</div>
	</ui:define>
	<ui:define name="memComSubTop">
		<ui:include src="/WEB-INF/templates/member/memComAccount.xhtml" />
	</ui:define>
	<ui:define name="memComContent">	
		<h:form id="memComContentForm">

				<div class="content">
					<div class="left">
					<ul class="gerenleft">
					<li class="change_password change_passwordss"><h:outputLabel>#{message['origin.password.display']}:</h:outputLabel><h:inputSecret id="loginOriginPassword" value="#{updateCustomerPasswordPage.oldPassword}" label="#{message['origin.password.display']}" required="true" styleClass="inputregon" onblur="this.className='inputregoff'" onfocus="this.className='inputregon'" size="30" maxlength="32"><f:validator validatorId="PasswordValidator"></f:validator></h:inputSecret><span class="tip">6-32位数字字母</span><em class="a001"><h:message for="loginOriginPassword" errorClass="errormessage"></h:message></em></li>
					<li class="change_password change_passwordss"><h:outputLabel>#{message['new.password.display']}:</h:outputLabel><h:inputSecret id="loginPassword" value="#{updateCustomerPasswordPage.newPassword}" label="#{message['new.password.display']}" required="true" styleClass="inputregoff" onblur="this.className='inputregoff'" onfocus="this.className='inputregon'" size="30" maxlength="32"><f:validator validatorId="PasswordValidator"></f:validator></h:inputSecret><span class="tip">6-32位数字字母</span><em class="a001"><h:message for="loginPassword" errorClass="errormessage"></h:message></em></li>
					<li class="change_password change_passwordss"><h:outputLabel>#{message['confirm.password.display']}:</h:outputLabel><h:inputSecret id="loginPasswordConfirmation" value="#{updateCustomerPasswordPage.verifyNewPassword}" label="#{message['confirm.password.display']}" required="true" styleClass="inputregoff" onblur="this.className='inputregoff'" onfocus="this.className='inputregon'" size="30" maxlength="32"><f:validator validatorId="PasswordValidator"></f:validator></h:inputSecret><span class="tip">必须与上面相同</span><em class="a001"><h:message for="loginPasswordConfirmation" errorClass="errormessage"></h:message></em></li>
					</ul>
					<div class="form-submit"><div id="confirm_button" class="ui-button-green"><span><h:commandLink action="#{updateCustomerPasswordPage.updatePassword}" styleClass="ui-button">保存最新的设置</h:commandLink></span></div></div>
					<div class="clear">
						<util:messages errorMessages="#{updateCustomerPasswordPage.errorMessages}"></util:messages>
					</div>
					</div>
				</div>

		</h:form>
	</ui:define>
	
</ui:composition>
</html>

